package com.sunjob.mroimg;

import com.sunjob.common.exceptionHandler.GlobalExceptionHandler;
import com.sunjob.common.redisTemplateConfig.RedisTemplateConfig;
import com.sunjob.common.roleAndAuth.RoleAndAuthConfig;
import com.sunjob.common.saTokenInterceptor.SaTokenInterceptorConfig;
import com.sunjob.mrosystem.aop.ExecLogAop;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * mro图片服务器
 */
@SpringBootApplication
@Import({GlobalExceptionHandler.class, ExecLogAop.class, RedisTemplateConfig.class,GlobalExceptionHandler.class, SaTokenInterceptorConfig.class, RoleAndAuthConfig.class})
@EnableAspectJAutoProxy
public class MroImgApplication {

    public static void main(String[] args) {
        SpringApplication.run(MroImgApplication.class, args);
    }

}
